
<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);"></td>

                    <td class="text-right">ID</td>
                    <td class="text-left">呢称</td>
                    <td class="text-left">申请时间 </td>
                    <td class="text-left">手机号</td>
                    <td class="text-left">邮箱号</td>
                    <td class="text-left">会员号</td>
                    <td class="text-left">申请事由</td>
                    <td class="text-left"><a href="javascript:sort('type');">状态</a></td>
                    <td class="text-right">操作</td>
                </tr>
            </thead>
            <tbody>
            <volist name="userList" id="list">
                <tr>
                    <td class="text-center">
                        <input type="checkbox" name="selected[]" value="{$list['id']}">
                        <input type="hidden" name="shipping_code[]" value="flat.flat">
                    </td>
                    <td class="text-right">{$list.id}</td>
                    <td class="text-left">{$list.nickname}</td>
                    <td class="text-left">{$list.time|date='Y-m-d H:i',###}</td>
                    <td class="text-left">{$list.mobile}</td>
                    <td class="text-left">{$list.email}</td>
                    <td class="text-left">{$list.account}</td>
                    <td class="text-left">{$list.note}</td>
                    <td class="text-left">
                        <switch name="list.type">
                            <case value='1'> 待审核 </case>
                            <case value='2'> 待审核 </case>
                            <case value='3'> 己审核 </case>
                            <case value='-1'> <b style="color:red;">己拒审</b> </case>
                        </switch>
                    </td>
                    
                    <td class="text-right">
                        <!-- <a href="__CONTROLLER__/qrzmdsheqi/id/{$list['id']}">确认审核</a>｜   -->
                        <neq name="list['type']" value="3"><a href="__CONTROLLER__/qrzmdshow/id/{$list['id']}">确认审核</a>｜</neq>
                        <a href="{:U('Admin/Users/team',array('user_id'=>$list['u_id']))}">团队</a>｜
                        <a href="__CONTROLLER__/zmdsheqidel/id/{$list['id']}" onclick="return confirm('确认删除吗  否则请取消？');" ><b style="color:red">删除</b></a> 
                        <a href="{:U('Admin/user/account_log',array('id'=>$list['u_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="账户"><i class="glyphicon glyphicon-yen"></i></a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</form>
<div class="row">
    <div class="col-sm-3 text-left">
    </div>
    <div class="col-sm-6 text-right">{$page}</div>
</div>
<script>
    $(".pagination  a").click(function () {
        var page = $(this).data('p');
        ajax_get_table('search-form2', page);
    });
</script>